#ifndef __APP_LCD_MP_H__
#define __APP_LCD_MP_H__

#include <rtthread.h>
#include "os_types.h"
#include "os_mq.h"
#include "app_lcd_util.h"

//message type
typedef enum
{
    APP_LCD_QMT_START = 0,

    APP_LCD_QMT_TIMER,        //??????
    APP_LCD_QMT_FLAG,         //???
    APP_LCD_QMT_CHARGE,       //????
    APP_LCD_QMT_MAINTAIN,     //??
    APP_LCD_QMT_FAIL,         //??

    APP_LCD_QMT_MAX
}app_lcd_msg_e;


//===========================================================
//????
extern BOOL app_lcd_msg_tab_init();
extern BOOL app_lcd_msg_proc(os_mq_data_pt msg);
extern BOOL app_lcd_timer_msg_post();
extern BOOL app_lcd_flag_msg_post(app_lcd_flag_e e_flag, BOOL show_state, INT16 value);
extern BOOL app_lcd_fail_msg_post(app_lcd_fail_e e_fail, BOOL value);
extern BOOL app_lcd_change_msg_post(app_lcd_charge_e e_chr);
extern BOOL app_lcd_maintain_msg_post(app_lcd_maintain_e e_main, void *pdat);

//===========================================================
#endif 

